﻿/*
    新模式服务许可证
    1. 每个承诺书对应一组用户表
*/
using Abp.Domain.Entities.Auditing;
using SOEI.Solution.FileUpLoader;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace SOEI.Solution.Integratedes.ElectronicSignet
{
    /// <summary>
    /// 承诺书表
    /// </summary>
    [Table("NESF_PLEDGEBOOKS")]
    public class PledgeBook: AuditedEntity<long>
    {
        /// <summary>
        /// 所属机构的编号
        /// </summary>
        [Column("JGBH")]
        public string JGBH { get; set; }

        /// <summary>
        /// 承诺书模块编号
        /// </summary>
        [Column("PLEDGEBOOKMODULEID")]
        public Guid PledgeBookModuleID { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        [Column("STATUS")]
        public string Status { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        [Column("REMARK")]
        public string Remark { get; set; }


        /// <summary>
        /// 承若书附件
        /// </summary>
        [NotMapped]
        public ICollection<Attach> PledgeBookAttachs { get; set; }

    }
}
